make.yml: reduce binary size#12247
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
|
Binary size comparison: |
e83de1b to
9bb92a1
Compare
|
GNU testsuite comparison: |
sylvestre
left a comment
There was a problem hiding this comment.
Strip and pack-relative-relocs flags make sense for size-tracking CI.
One note: -C force-unwind-tables=no trades debuggability for size — worth noting in the commit message that this is intentional for the size-measurement job.
* replace manuall strip by RUSTFLAGS * use linker flags useful to reduce binary size * remove unwind table by -C force-unwind-tables=no. Unwind tables are useful for debug. but we publish milti-call binary containing them from CICD.yml and individual binaries from size CI. So we dont hurt debuggability for size bench.
0502633 to
3de6952
Compare
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
|
this pr is ready |
Rust no longer remove unwind tables by panic=abort